<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//6. 声明若干类来表示生活中的例子，例如：书、房子、树等等，至少5个。
			function Life(book,house,tree,doll,food) {
				this.book = book;
				this.house = house;
				this.tree = tree;
				this.doll =doll;
				this.food = food;
			}			
			let life = new Life("鬼谷子故事", "木屋", "菩提树","洋娃娃","火鸡宴");
			console.log(life);
		</script>
	</body>
</html>
